package com.car.postoffice.mailbox;

import com.car.postoffice.CAddress;
import com.car.postoffice.CMailReply;
import com.car.postoffice.IMailBox;

/**
 *  利用文件存储的MailBox
 *  // TODO 待实现
 * @author Xairy
 *
 */
public class FileMailBox implements IMailBox {
	private CAddress addr;
	
	public FileMailBox(CAddress addr){
		this.setAddr(addr);
	}
	
	@Override
	public boolean isEmpty() {
		return false;
	}

	@Override
	public CMailReply GetMail() {
		return null;
	}

	@Override
	public void PutMail(CMailReply reply) {

	}

	public CAddress getAddr() {
		return addr;
	}

	public void setAddr(CAddress addr) {
		this.addr = addr;
	}

}
